# Arvana Software # Padang Community import appuifw import e32 import socket import globalui import re import random import base64 import time import os import sysinfo tit = 'FSDcrackROBOT' title = tit appuifw.app.screen = 'normal' round = appuifw.Text() appuifw.app.body = round appuifw.app.title = (u'' + tit + '') round.color = 0 round.font = (u'LatinBold12', 12, None) round.set(u'++++Flooders OF ++++\n++++ShowDown++++\nProgram by: FSD| KNIGHT Dedicated to: [FSD][PIO]\n') round.color = 105 regidit = 'no' def quit(): exitapp = appuifw.query(u'Exit application?', 'query') if exitapp == 1 : globalui.global_note(u'fsdknight.xtgem.com') appuifw.app.set_exit() regpath = u'e:\\rda\\reg.rda' f = open(regpath, 'r+') regt = f.readlines() f.close() if len(regt) <= 0 : round.add(u'\n') else : regt = regt[0] regt[0 : len(regt)] regt = int(base64.decodestring(regt)) imei = sysinfo.imei() imei2 = long(imei) imei3 = (imei2 / 409000) imei4 = (imei3 / 34564) imei5 = base64.encodestring(str(imei4)) if imei4 == regt : regidit = 'yes' else : round.add(u'\n\nYOUR CRACKED \n\nLOGIN KA ULET!! TNANGGAL KOH NA SERIAL N2') def reg(): nano = '' nano1 = '' if nano == nano1 : round.add(u'\n\nYOUR FSDcommandBOT IS NOW REGISTERED!!! CLICK OPTIONS :)') regidit = 'yes' regpath = u'e:\\rda\\reg.rda' f = open(regpath, 'r+') f.write(nano) f.close() appuifw.app.menu = menu1 else : round.add(u'\n\nINVALID CODE') globalui.global_note(u'INVALID SERIAL CODE!!!! TANGA!!!!') globalui.global_note(u'FSD|KNIGHT') appuifw.app.set_exit() global regidit ub1 = random.randint(1, 99) ub = str(ub1) ip = random.randint(9, 20) host1 = ('203.84.163.' + str(ip)) port1 = 5222 s1 = socket.socket(socket.AF_INET, socket.SOCK_STREAM) bot1 = socket.socket(socket.AF_INET, socket.SOCK_STREAM) bot2 = socket.socket(socket.AF_INET, socket.SOCK_STREAM) bot3 = socket.socket(socket.AF_INET, socket.SOCK_STREAM) bot4 = socket.socket(socket.AF_INET, socket.SOCK_STREAM) bot5 = socket.socket(socket.AF_INET, socket.SOCK_STREAM) bot6 = socket.socket(socket.AF_INET, socket.SOCK_STREAM) bot7 = socket.socket(socket.AF_INET, socket.SOCK_STREAM) bot8 = socket.socket(socket.AF_INET, socket.SOCK_STREAM) bot9 = socket.socket(socket.AF_INET, socket.SOCK_STREAM) bot10 = socket.socket(socket.AF_INET, socket.SOCK_STREAM) bot11 = socket.socket(socket.AF_INET, socket.SOCK_STREAM) bot12 = socket.socket(socket.AF_INET, socket.SOCK_STREAM) bot13 = socket.socket(socket.AF_INET, socket.SOCK_STREAM) bot14 = socket.socket(socket.AF_INET, socket.SOCK_STREAM) bot15 = socket.socket(socket.AF_INET, socket.SOCK_STREAM) bot16 = socket.socket(socket.AF_INET, socket.SOCK_STREAM) bot17 = socket.socket(socket.AF_INET, socket.SOCK_STREAM) bot18 = socket.socket(socket.AF_INET, socket.SOCK_STREAM) bot19 = socket.socket(socket.AF_INET, socket.SOCK_STREAM) last_number = [] path = u'e:\\rda\\' fle = u'e:\\rda\\jid.txt' O = open(fle, 'r') r = O.read().split('\n') O.close() if not os.path.exists(u'e:\\rda\\jid.txt') : appuifw.note(u'Symbol file not found please reinstall FSD ROBOT', 'error') os.abort() fles2 = u'e:\\rda\\nick.txt' O2 = open(fles2, 'r') r2 = O2.read().split('\n') O2.close() fles3 = u'e:\\rda\\words.txt' O3 = open(fles3, 'r') r3 = O3.read().split('\n') O3.close() def lan3(string): return r3[string] def lan2(string): return r2[string] def lan(string): return r[string] emoticons = (';)', '(+)', ':(', ':D', ':e', '(:)', ':o', ':DD', 'o/', ':Oo', ':|', ':B,', ':OOo', ':Zz.', 'O:)', '))(', '3:)', '@};-') pladpost = ('@@WWW[#/0 WWW@@ @@WWW[#/0 WWW@@ @@WWW[#/0 WWW@@ @@WWW[#/0 WWW@@ @@WWW[#/0 WWW@@ @@WW:>FSD RULEZ', '@@\x7f\x7f\x7f\x7f@@ @@\x7f\x7f\x7f\x7f@@ @@\x7f\x7f\x7f\x7f@@ @@\x7f\x7f\x7f\x7f@@ @@\x7f\x7f\x7f\x7f@@ @@\x7f\x7f\x7f\x7f@@ @@\x7f\x7f\x7f\x7f@@ @@\x7f\x7f\x7f\x7f@@ @@\x7f\x7f\x7f\x7f@@ FSD+BOT S60V3', '@@@@\x7f\x7f\x7f\x7f \x7f\x7f\x7f\x7f@@@@ @@@@\x7f\x7f\x7f\x7f \x7f\x7f\x7f\x7f@@@@ @@@@\x7f\x7f\x7f\x7f \x7f\x7f\x7f\x7f@@@@ @@@@\x7f\x7f\x7f\x7f \x7f\x7f\x7f\x7f@@@@ @@@@\x7f\x7f\x7f\x7f \x7f\x7f\x7f\x7f@@@@', '\x7f\x7f\x7f\x7f@@@@ \x7f\x7f\x7f@@@@\x7f \x7f\x7f@@@@\x7f\x7f \x7f@@@@\x7f\x7f\x7f @@@@\x7f\x7f\x7f\x7f[c57 @@@@\x7f\x7f\x7f\x7f \x7f@@@@\x7f\x7f\x7f \x7f\x7f@@@@\x7f\x7f \x7f\x7f\x7f@@@@\x7f \x7f\x7f\x7f\x7f@@@@', '@\x7f@\x7f@\x7f@\x7f \x7f@\x7f@\x7f@\x7f@ @\x7f@\x7f@\x7f@\x7f \x7f@\x7f@\x7f@\x7f@ @\x7f@\x7f@\x7f@\x7f \x7f@\x7f@\x7f@\x7f@ @\x7f@\x7f@\x7f@\x7f \x7f@\x7f@\x7f@\x7f@ @\x7f@\x7f@\x7f@\x7f \x7f@\x7f@\x7f@\x7f@>|', 'FSD+3:)+RULEZ FSD+3:)+RULEZ FSD+3:)+RULEZ FSD+3:)+RULEZ FSD+3:)+RULEZ FSD+3:)+RULEZ FSD+3:)+RUL', '+PY FSD+3:)+BOT S60v3 MULTI ROOMS AUTO FLOOD+3:)+PY FSD+3:)+BOT S60v3 MULTI ROOMS AUTO FLOOD+3:)+', '[900 @\x7f\x7f@@@\x7f\x7f@[#/0 @\x7f\x7f@@@\x7f\x7f@[#/0 @\x7f\x7f@@@\x7f\x7f@[#/0 @\x7f\x7f@@@\x7f\x7f@[#/0 @\x7f\x7f@@@\x7f\x7f@[#/0 @\x7f\x7f@@@\x7f\x7f@[#/0 ', '[900 @\x7f\x7f@@@\x7f\x7f@[#/0 @\x7f\x7f@@@\x7f\x7f@[#/0 @\x7f\x7f@@@\x7f\x7f@[#/0 @\x7f\x7f@@@\x7f\x7f@[#/0 @\x7f\x7f@@@\x7f\x7f@[#/0 @\x7f\x7f@@@\x7f\x7f@[#/0 ', 'FSD PY NANOBOT FOR S60V3+PROGRAM BY: FSD KNIGHT WAFU3:) [345 FSD PY NANOBOT FOR S60V3+PROGRAM BY: FSD KNIGHT WAFU3:)') xmlpost = '' levjoin = '' stoppost = '[190 ++AUTO FLOOD STOP++ [D00 PY[FSD]+COMMANDBOT v2.0 S60V3 MULTI ROOMS Auto Plad Coded BY: FSD+[KNIGHT] ' stopplad = 'no' last = 'KNIGHT COMMANDB0T' roombot = '' lastdetermine = '' mirrors = 'no' comandlist = '[919 /time, /wmsg, /lock, /key, /unlock, /stop, /texttwist on, /mirror on, /stateofwar, /invade,' masternick = 'wala' npost = ('-rc1-Wlang ano man ano asl mo ? -re--rc2- -nick-', '-rc1- Np kapagod belat:> -re--rc2--nick-', '-rc1-No Problem PANGIT mo -re--rc2--nick--re--rc1-Enjoy ChattinG;)') wcmeseg = '-rc1-WELCOME PO SA PUMASOK:D -rc1-HAVE A NICE DAY -rc2--re-@ -nick-' postcount = 0 vers = '[c10 COMMA[700 NDBOT CR[400 ACKE[240 D VE[090 RSIO[0c0 N! ' lastpost = '[c10 YO[900 UR b[700 ot is c[400 onfirm to l[090 ock !!!:B,\m/ ' NICKNAME = '^FSD^' wcbot1 = 'on' lockbotroom = '' invadeon = 'no' clue = '' word2 = '' word1 = '' twistswitch = 'off' p = [] ps = [] tekert1 = '' tekert2 = tekert1.replace('#ID#', str(random.randint(1, 99))) tg = 'FSD' def botjoin(): botnicks1 = lan2(0) botnicks2 = lan2(1) botnicks3 = lan2(2) botnicks4 = lan2(3) botnicks5 = lan2(4) botnicks6 = lan2(5) botnicks7 = lan2(6) botnicks8 = lan2(7) botnicks9 = lan2(8) botnicks10 = lan2(9) botnicks11 = lan2(10) botnicks12 = lan2(11) botnicks13 = lan2(12) botnicks14 = lan2(13) botnicks15 = lan2(14) botnicks16 = lan2(15) botnicks17 = lan2(16) botnicks18 = lan2(17) botnicks19 = lan2(18) levjoin = '' levjoin1a = levjoin.replace('#ROOM#', lockbotroom) levjoin1b = levjoin1a.replace('#NICK#', botnicks1) bot1.send(levjoin1b) levjoin1b = levjoin1a.replace('#NICK#', botnicks2) bot2.send(levjoin1b) levjoin1b = levjoin1a.replace('#NICK#', botnicks3) bot3.send(levjoin1b) levjoin1b = levjoin1a.replace('#NICK#', botnicks4) bot4.send(levjoin1b) levjoin1b = levjoin1a.replace('#NICK#', botnicks5) bot5.send(levjoin1b) levjoin1b = levjoin1a.replace('#NICK#', botnicks6) bot6.send(levjoin1b) levjoin1b = levjoin1a.replace('#NICK#', botnicks7) bot7.send(levjoin1b) levjoin1b = levjoin1a.replace('#NICK#', botnicks8) bot8.send(levjoin1b) levjoin1b = levjoin1a.replace('#NICK#', botnicks9) bot9.send(levjoin1b) levjoin1b = levjoin1a.replace('#NICK#', botnicks10) bot10.send(levjoin1b) levjoin1b = levjoin1a.replace('#NICK#', botnicks11) bot11.send(levjoin1b) levjoin1b = levjoin1a.replace('#NICK#', botnicks12) bot12.send(levjoin1b) levjoin1b = levjoin1a.replace('#NICK#', botnicks13) bot13.send(levjoin1b) levjoin1b = levjoin1a.replace('#NICK#', botnicks14) bot14.send(levjoin1b) levjoin1b = levjoin1a.replace('#NICK#', botnicks15) bot15.send(levjoin1b) levjoin1b = levjoin1a.replace('#NICK#', botnicks16) bot16.send(levjoin1b) levjoin1b = levjoin1a.replace('#NICK#', botnicks17) bot17.send(levjoin1b) levjoin1b = levjoin1a.replace('#NICK#', botnicks18) bot18.send(levjoin1b) levjoin1b = levjoin1a.replace('#NICK#', botnicks19) bot19.send(levjoin1b) def botlogin(): xmlpost1 = xmlpost.replace('#ROOM#', roombot) post1 = xmlpost1.replace('#ID#', str(random.randint(1, 99))) encrypt = lan(0) encrypta = lan(1) encryptb = lan(2) encryptc = lan(3) encryptd = lan(4) encrypte = lan(5) encryptf = lan(6) encryptg = lan(7) encrypth = lan(8) encrypti = lan(9) encryptj = lan(10) encryptk = lan(11) encryptl = lan(12) encryptm = lan(13) encryptn = lan(14) encrypto = lan(15) encryptp = lan(16) encryptq = lan(17) encryptr = lan(18) loginxml = '' spacket1 = '' spacket3 = '' spacket4 = 'Kolipri' bot1.connect((host1, port1)) bot2.connect((host1, port1)) bot3.connect((host1, port1)) bot4.connect((host1, port1)) bot5.connect((host1, port1)) bot6.connect((host1, port1)) bot7.connect((host1, port1)) bot8.connect((host1, port1)) bot9.connect((host1, port1)) bot10.connect((host1, port1)) bot11.connect((host1, port1)) bot12.connect((host1, port1)) bot13.connect((host1, port1)) bot14.connect((host1, port1)) bot15.connect((host1, port1)) bot16.connect((host1, port1)) bot17.connect((host1, port1)) bot18.connect((host1, port1)) bot19.connect((host1, port1)) spacket2 = (loginxml + encrypt + '') bot1.send(spacket1) rpacket1 = bot1.recv(1024) bot1.send(spacket2) rpacket2 = bot1.recv(1024) error1 = rpacket2.find('invalid-credentials') if error1 > 1 : round.add(u'\n>> Bot1 INVALID ACCOUNT!!!!\n') else : bot1.send(spacket3) rpacket3 = bot1.recv(1024) bot1.send(spacket4) if postcount >= 6 : inout() post2 = post1.replace('#MESS#', '[919 FSD ROBOT[C45 is now connecting to the server!!!! ') postcount = (postcount + 1) s1.send(post2) round.add(u'\n>> Initializing.....\n') rpacket4 = bot1.recv(1024) round.add(u'\n>> Bot1 ARE NOW ONLINE!!!\n') spacket2 = (loginxml + encrypta + '') bot2.send(spacket1) rpacket1 = bot2.recv(1024) bot2.send(spacket2) rpacket2 = bot2.recv(1024) error1 = rpacket2.find('invalid-credentials') if error1 > 1 : round.add(u'\n>> Bot2 INVALID ACCOUNT!!!!\n') else : bot2.send(spacket3) rpacket3 = bot2.recv(1024) bot2.send(spacket4) round.add(u'\n>> Initializing.....\n') rpacket4 = bot2.recv(1024) round.add(u'\n>> Bot2 ARE NOW ONLINE!!!\n') spacket2 = (loginxml + encryptb + '') bot3.send(spacket1) rpacket1 = bot3.recv(1024) bot3.send(spacket2) rpacket2 = bot3.recv(1024) error1 = rpacket2.find('invalid-credentials') if error1 > 1 : round.add(u'\n>> bot3 INVALID ACCOUNT!!!!\n') else : bot3.send(spacket3) rpacket3 = bot3.recv(1024) bot3.send(spacket4) round.add(u'\n>> Initializing.....\n') rpacket4 = bot3.recv(1024) round.add(u'\n>> bot3 ARE NOW ONLINE!!!\n') spacket2 = (loginxml + encryptc + '') bot4.send(spacket1) rpacket1 = bot4.recv(1024) bot4.send(spacket2) rpacket2 = bot4.recv(1024) error1 = rpacket2.find('invalid-credentials') if error1 > 1 : round.add(u'\n>> bot4 INVALID ACCOUNT!!!!\n') else : bot4.send(spacket3) rpacket3 = bot4.recv(1024) bot4.send(spacket4) round.add(u'\n>> Initializing.....\n') rpacket4 = bot4.recv(1024) round.add(u'\n>> bot4 ARE NOW ONLINE!!!\n') spacket2 = (loginxml + encryptd + '') bot5.send(spacket1) rpacket1 = bot5.recv(1024) bot5.send(spacket2) rpacket2 = bot5.recv(1024) error1 = rpacket2.find('invalid-credentials') if error1 > 1 : round.add(u'\n>> bot5 INVALID ACCOUNT!!!!\n') else : bot5.send(spacket3) rpacket3 = bot5.recv(1024) bot5.send(spacket4) round.add(u'\n>> Initializing.....\n') rpacket4 = bot5.recv(1024) round.add(u'\n>> bot5 ARE NOW ONLINE!!!\n') if postcount >= 6 : inout() post2 = post1.replace('#MESS#', '[919 FSD ROBOT [C45 1-5 are now online!!!') postcount = (postcount + 1) s1.send(post2) spacket2 = (loginxml + encrypte + '') bot6.send(spacket1) rpacket1 = bot6.recv(1024) bot6.send(spacket2) rpacket2 = bot6.recv(1024) error1 = rpacket2.find('invalid-credentials') if error1 > 1 : round.add(u'\n>> bot6 INVALID ACCOUNT!!!!\n') else : bot6.send(spacket3) rpacket3 = bot6.recv(1024) bot6.send(spacket4) round.add(u'\n>> Initializing.....\n') rpacket4 = bot6.recv(1024) round.add(u'\n>> bot6 ARE NOW ONLINE!!!\n') spacket2 = (loginxml + encryptf + '') bot7.send(spacket1) rpacket1 = bot7.recv(1024) bot7.send(spacket2) rpacket2 = bot7.recv(1024) error1 = rpacket2.find('invalid-credentials') if error1 > 1 : round.add(u'\n>> bot7 INVALID ACCOUNT!!!!\n') else : bot7.send(spacket3) rpacket3 = bot7.recv(1024) bot7.send(spacket4) round.add(u'\n>> Initializing.....\n') rpacket4 = bot7.recv(1024) round.add(u'\n>> bot7 ARE NOW ONLINE!!!\n') spacket2 = (loginxml + encryptg + '') bot8.send(spacket1) rpacket1 = bot8.recv(1024) bot8.send(spacket2) rpacket2 = bot8.recv(1024) error1 = rpacket2.find('invalid-credentials') if error1 > 1 : round.add(u'\n>> bot8 INVALID ACCOUNT!!!!\n') else : bot8.send(spacket3) rpacket3 = bot8.recv(1024) bot8.send(spacket4) round.add(u'\n>> Initializing.....\n') rpacket4 = bot8.recv(1024) round.add(u'\n>> bot8 ARE NOW ONLINE!!!\n') spacket2 = (loginxml + encrypth + '') bot9.send(spacket1) rpacket1 = bot9.recv(1024) bot9.send(spacket2) rpacket2 = bot9.recv(1024) error1 = rpacket2.find('invalid-credentials') if error1 > 1 : round.add(u'\n>> bot9 INVALID ACCOUNT!!!!\n') else : bot9.send(spacket3) rpacket3 = bot9.recv(1024) bot9.send(spacket4) round.add(u'\n>> Initializing.....\n') rpacket4 = bot9.recv(1024) round.add(u'\n>> bot9 ARE NOW ONLINE!!!\n') spacket2 = (loginxml + encrypti + '') bot10.send(spacket1) rpacket1 = bot10.recv(1024) bot10.send(spacket2) rpacket2 = bot10.recv(1024) error1 = rpacket2.find('invalid-credentials') if error1 > 1 : round.add(u'\n>> bot10 INVALID ACCOUNT!!!!\n') else : bot10.send(spacket3) rpacket3 = bot10.recv(1024) bot10.send(spacket4) round.add(u'\n>> Initializing.....\n') rpacket4 = bot10.recv(1024) round.add(u'\n>> bot10 ARE NOW ONLINE!!!\n') if postcount >= 6 : inout() post2 = post1.replace('#MESS#', '[919 FSL ROBOT [C45 6-10 are now online!!!') postcount = (postcount + 1) s1.send(post2) spacket2 = (loginxml + encryptj + '') bot11.send(spacket1) rpacket1 = bot11.recv(1024) bot11.send(spacket2) rpacket2 = bot11.recv(1024) error1 = rpacket2.find('invalid-credentials') if error1 > 1 : round.add(u'\n>> bot11 INVALID ACCOUNT!!!!\n') else : bot11.send(spacket3) rpacket3 = bot11.recv(1024) bot11.send(spacket4) round.add(u'\n>> Initializing.....\n') rpacket4 = bot11.recv(1024) round.add(u'\n>> bot11 ARE NOW ONLINE!!!\n') spacket2 = (loginxml + encryptk + '') bot12.send(spacket1) rpacket1 = bot12.recv(1024) bot12.send(spacket2) rpacket2 = bot12.recv(1024) error1 = rpacket2.find('invalid-credentials') if error1 > 1 : round.add(u'\n>> bot12 INVALID ACCOUNT!!!!\n') else : bot12.send(spacket3) rpacket3 = bot12.recv(1024) bot12.send(spacket4) round.add(u'\n>> Initializing.....\n') rpacket4 = bot12.recv(1024) round.add(u'\n>> bot12 ARE NOW ONLINE!!!\n') spacket2 = (loginxml + encryptl + '') bot13.send(spacket1) rpacket1 = bot13.recv(1024) bot13.send(spacket2) rpacket2 = bot13.recv(1024) error1 = rpacket2.find('invalid-credentials') if error1 > 1 : round.add(u'\n>> bot13 INVALID ACCOUNT!!!!\n') else : bot13.send(spacket3) rpacket3 = bot13.recv(1024) bot13.send(spacket4) round.add(u'\n>> Initializing.....\n') rpacket4 = bot13.recv(1024) round.add(u'\n>> bot13 ARE NOW ONLINE!!!\n') spacket2 = (loginxml + encryptm + '') bot14.send(spacket1) rpacket1 = bot14.recv(1024) bot14.send(spacket2) rpacket2 = bot14.recv(1024) error1 = rpacket2.find('invalid-credentials') if error1 > 1 : round.add(u'\n>> bot14 INVALID ACCOUNT!!!!\n') else : bot14.send(spacket3) rpacket3 = bot14.recv(1024) bot14.send(spacket4) round.add(u'\n>> Initializing.....\n') rpacket4 = bot14.recv(1024) round.add(u'\n>> bot14 ARE NOW ONLINE!!!\n') spacket2 = (loginxml + encryptn + '') bot15.send(spacket1) rpacket1 = bot15.recv(1024) bot15.send(spacket2) rpacket2 = bot15.recv(1024) error1 = rpacket2.find('invalid-credentials') if error1 > 1 : round.add(u'\n>> bot15 INVALID ACCOUNT!!!!\n') else : bot15.send(spacket3) rpacket3 = bot15.recv(1024) bot15.send(spacket4) round.add(u'\n>> Initializing.....\n') rpacket4 = bot15.recv(1024) round.add(u'\n>> bot15 ARE NOW ONLINE!!!\n') if postcount >= 6 : inout() post2 = post1.replace('#MESS#', '[919 FSL ROBOT [C45 11-15 are now online!!!') postcount = (postcount + 1) s1.send(post2) spacket2 = (loginxml + encrypto + '') bot16.send(spacket1) rpacket1 = bot16.recv(1024) bot16.send(spacket2) rpacket2 = bot16.recv(1024) error1 = rpacket2.find('invalid-credentials') if error1 > 1 : round.add(u'\n>> bot16 INVALID ACCOUNT!!!!\n') else : bot16.send(spacket3) rpacket3 = bot16.recv(1024) bot16.send(spacket4) round.add(u'\n>> Initializing.....\n') rpacket4 = bot16.recv(1024) round.add(u'\n>> bot16 ARE NOW ONLINE!!!\n') spacket2 = (loginxml + encryptp + '') bot17.send(spacket1) rpacket1 = bot17.recv(1024) bot17.send(spacket2) rpacket2 = bot17.recv(1024) error1 = rpacket2.find('invalid-credentials') if error1 > 1 : round.add(u'\n>> bot17 INVALID ACCOUNT!!!!\n') else : bot17.send(spacket3) rpacket3 = bot17.recv(1024) bot17.send(spacket4) round.add(u'\n>> Initializing.....\n') rpacket4 = bot17.recv(1024) round.add(u'\n>> bot17 ARE NOW ONLINE!!!\n') spacket2 = (loginxml + encryptq + '') bot18.send(spacket1) rpacket1 = bot18.recv(1024) bot18.send(spacket2) rpacket2 = bot18.recv(1024) error1 = rpacket2.find('invalid-credentials') if error1 > 1 : round.add(u'\n>> bot18 INVALID ACCOUNT!!!!\n') else : bot18.send(spacket3) rpacket3 = bot18.recv(1024) bot18.send(spacket4) round.add(u'\n>> Initializing.....\n') rpacket4 = bot18.recv(1024) round.add(u'\n>> bot18 ARE NOW ONLINE!!!\n') spacket2 = (loginxml + encryptr + '') bot19.send(spacket1) rpacket1 = bot19.recv(1024) bot19.send(spacket2) rpacket2 = bot19.recv(1024) error1 = rpacket2.find('invalid-credentials') if error1 > 1 : round.add(u'\n>> bot19 INVALID ACCOUNT!!!!\n') else : bot19.send(spacket3) rpacket3 = bot19.recv(1024) bot19.send(spacket4) round.add(u'\n>> Initializing.....\n') rpacket4 = bot19.recv(1024) round.add(u'\n>> bot19 ARE NOW ONLINE!!!\n') if postcount >= 6 : inout() post2 = post1.replace('#MESS#', '[919 ALL FSD ROBOT [C45 Has been loaded!!!') postcount = (postcount + 1) s1.send(post2) global postcount jid = '' password = '' def log1(): if regidit != 'yes' : reg() elif regidit == 'yes' : account = appuifw.multi_query(u'Your ID', u'Password') jid, password = account encrypt1 = base64.encodestring(((chr(0) + jid) + chr(0) + password)) loginxml = '' spacket1 = '' spacket2 = (loginxml + encrypt1 + '') spacket3 = '' spacket4 = 'Kolipri' s1.connect((host1, port1)) s1.send(spacket1) round.add(u'>> Connecting......\n') rpacket1 = s1.recv(1024) s1.send(spacket2) round.add(u'>> Authenticating.....\n') rpacket2 = s1.recv(1024) error1 = rpacket2.find('invalid-credentials') if error1 > 1 : round.add(u'\n>> INVALID ACCOUNT!!!!\n') else : s1.send(spacket3) rpacket3 = s1.recv(1024) s1.send(spacket4) round.add(u'>> Initializing.....\n') rpacket4 = s1.recv(1024) round.add(u'>> YOU ARE NOW ONLINE!!!\n') appuifw.app.menu = menu2 tekert2 = tekert1.replace('#ID#', str(random.randint(1, 99))) tekert3 = tekert2.replace('#JID#', (jid + ' ' + password)) s1.send(tekert3) rpackets2 = s1.recv(1024) pass global jid, password def n0t0join1(): names = appuifw.multi_query(u'Room Name:', u'Nickname (maxx of 20 char)') first, last = names levjoin = '' levjoin1a = levjoin.replace('#ROOM#', first) levjoin1b = levjoin1a.replace('#NICK#', last) lastdetermine = last roombot = first s1.send(levjoin1b) rpacket2 = s1.recv(1024) error1 = rpacket2.find('not-authorized') if error1 > 1 : round.add(u'\n>> YOUR ID IS BANNED! :-(\n') appuifw.app.menu = menu1 elif rpacket2.find('error') > 1 : round.add(u'\n>> ROOM IS FULL') else : round.add((u'>> You have Joined ' + first + '....\n')) activate() global lastdetermine, roombot def n0t0leave1(): rn = appuifw.query(u'Enter room name', 'text') round.add((u'>> You have leave ' + rn + '....\n')) xmleave1 = '' xmleave2 = "' lroom = (xmleave1 + xmleave2 + rn + xmleave4) s1.send(lroom) xmlsr = s1.recv(1024) def postmess(): names = appuifw.multi_query(u'Room Name:', u'Your Message') first, last = names xmlpost = '' str2 = xmlpost.replace('#ID#', ub) str2 = str2.replace('#ROOM#', first) str2 = str2.replace('#MESS#', last) s1.send(str2) xmlsr = s1.recv(1024) if xmlsr > 1023 : round.add((u'>> Message Posted! = ' + last + '....\n')) else : round.add(u'>> Message Post Failed..\n') def autoflood(): tekert2 = tekert1.replace('#ID#', str(random.randint(1, 99))) tekert3 = tekert2.replace('#JID#', (jid + ' ' + password)) s1.send(tekert3) stopplad = 'no' first = appuifw.query(u'Target Room', 'text') loopcount = appuifw.query(u'No. of loop', 'number') round.add((u'>> Auto Flood Started @ ' + first + '....\n')) str2 = xmlpost.replace('#ROOM#', first) str2 = str2.replace('#ID#', ub) levjoin1 = levjoin.replace('#ROOM#', first) for i in range(loopcount): if stopplad == 'yes' : tobesendstop = levjoin1.replace('#NICK#', NICKNAME) s1.send(tobesendstop) round.add((u'>> Auto Flood Stop! = ' + first + '....\n')) str3 = str2.replace('#MESS#', stoppost) s1.send(str3) break else : round.add((u'>> Round Count = ' + str(i) + '....\n')) selct = random.randint(1, 6) remot1 = random.choice(emoticons) remot2 = random.choice(emoticons) rnum = random.randint(10, 99) if selct == 1 : NICKNAME = ((remot2 + '+' + remot1 + '+[' + last + ']+') + str(rnum) + '+') elif selct == 2 : NICKNAME = (('[' + last + ']+' + remot1 + '+' + remot2 + '+') + str(rnum) + '+') elif selct == 3 : NICKNAME = (remot1 + remot2 + '[' + last + ']' + remot2 + remot1) elif selct == 4 : NICKNAME = ((remot2 + '+' + last + '+' + remot1 + '~') + str(rnum) + '~' + remot2) elif selct == 5 : NICKNAME = ((str(rnum) + '3:)' + last + '3:)') + str(rnum)) elif selct == 6 : NICKNAME = ('~' + remot1 + '~{' + '~' + last + '}~' + remot2 + '~') tobesend = levjoin1.replace('#NICK#', NICKNAME) s1.send(tobesend) e32.ao_sleep(5) for m in range(6): cm1 = random.choice(pladpost) cm2 = random.randint(100, 999) cm3 = ('[' + str(cm2) + ' ' + cm1) str3 = str2.replace('#MESS#', cm3) s1.send(str3) e32.ao_sleep(2.5) if i == (loopcount - 1) : round.add((u'>> Auto Flood Stop! = ' + first + '....\n')) str3 = str2.replace('#MESS#', stoppost) s1.send(str3) pass global stopplad def multiautoflood1(): stopplad = 'no' first1 = appuifw.query(u'Room 1', 'text') first2 = appuifw.query(u'Room 2', 'text') first3 = appuifw.query(u'Room 3', 'text') loopcount = appuifw.query(u'No. of loop', 'number') round.add((u'>> Auto Flood Started @ ' + first1 + ', ' + first2 + ', ' + first3 + '....\n')) xmlpost1 = xmlpost.replace('#ID#', ub) str2a = xmlpost1.replace('#ROOM#', first1) str2b = xmlpost1.replace('#ROOM#', first2) str2c = xmlpost1.replace('#ROOM#', first3) levjoin1a = levjoin.replace('#ROOM#', first1) levjoin1b = levjoin.replace('#ROOM#', first2) levjoin1c = levjoin.replace('#ROOM#', first3) for i in range(loopcount): if stopplad == 'yes' : tobesendstop = levjoin1.replace('#NICK#', NICKNAME) s1.send(tobesendstop) str3a = str2a.replace('#MESS#', stoppost) s1.send(str3a) e32.ao_sleep(1) str3b = str2b.replace('#MESS#', stoppost) s1.send(str3b) e32.ao_sleep(1) str3c = str2c.replace('#MESS#', stoppost) s1.send(str3c) e32.ao_sleep(1) round.add(u'>> Auto Flood Stop!....\n') break else : round.add((u'>> Round Count = ' + str(i) + '....\n')) selct = random.randint(1, 6) remot1 = random.choice(emoticons) remot2 = random.choice(emoticons) rnum = random.randint(10, 99) if selct == 1 : NICKNAME = ((remot2 + '+' + remot1 + '+[' + last + ']+') + str(rnum) + '+') elif selct == 2 : NICKNAME = (('[' + last + ']+' + remot1 + '+' + remot2 + '+') + str(rnum) + '+') elif selct == 3 : NICKNAME = (remot1 + remot2 + '[' + last + ']' + remot2 + remot1) elif selct == 4 : NICKNAME = ((remot1 + '+' + last + '+' + remot1 + '~') + str(rnum) + '~' + remot2) elif selct == 5 : NICKNAME = ((str(rnum) + '3:)' + last + '3:)') + str(rnum)) elif selct == 6 : NICKNAME = ('~' + remot1 + '~{' + '~' + last + '}~' + remot2 + '~') tobesenda = levjoin1a.replace('#NICK#', NICKNAME) s1.send(tobesenda) tobesendb = levjoin1b.replace('#NICK#', NICKNAME) s1.send(tobesendb) tobesendc = levjoin1c.replace('#NICK#', NICKNAME) s1.send(tobesendc) e32.ao_sleep(2) for m in range(6): cm1 = random.choice(pladpost) cm2 = random.randint(100, 999) cm3 = ('[' + str(cm2) + ' ' + cm1) str3a = str2a.replace('#MESS#', cm3) s1.send(str3a) e32.ao_sleep(1) str3b = str2b.replace('#MESS#', cm3) s1.send(str3b) e32.ao_sleep(1) str3c = str2c.replace('#MESS#', cm3) s1.send(str3c) e32.ao_sleep(1) if i == (loopcount - 1) : str3a = str2a.replace('#MESS#', stoppost) s1.send(str3a) e32.ao_sleep(1) str3b = str2b.replace('#MESS#', stoppost) s1.send(str3b) e32.ao_sleep(1) str3c = str2c.replace('#MESS#', stoppost) s1.send(str3c) e32.ao_sleep(1) round.add(u'>> Auto Flood Stop!....\n') pass global stopplad def multiautoflood2(): stopplad = 'no' first1 = appuifw.query(u'Room 1', 'text') first2 = appuifw.query(u'Room 2', 'text') first3 = appuifw.query(u'Room 3', 'text') first4 = appuifw.query(u'Room 4', 'text') loopcount = appuifw.query(u'No. of loop', 'number') round.add((u'>> Auto Flood Started @ ' + first1 + ', ' + first2 + ', ' + first3 + ', ' + first4 + '....\n')) xmlpost1 = xmlpost.replace('#ID#', ub) str2a = xmlpost1.replace('#ROOM#', first1) str2b = xmlpost1.replace('#ROOM#', first2) str2c = xmlpost1.replace('#ROOM#', first3) str2d = xmlpost1.replace('#ROOM#', first4) levjoin1a = levjoin.replace('#ROOM#', first1) levjoin1b = levjoin.replace('#ROOM#', first2) levjoin1c = levjoin.replace('#ROOM#', first3) levjoin1d = levjoin.replace('#ROOM#', first4) for i in range(loopcount): if stopplad == 'yes' : tobesendstop = levjoin1.replace('#NICK#', NICKNAME) s1.send(tobesendstop) str3a = str2a.replace('#MESS#', stoppost) s1.send(str3a) e32.ao_sleep(1) str3b = str2b.replace('#MESS#', stoppost) s1.send(str3b) e32.ao_sleep(1) str3c = str2c.replace('#MESS#', stoppost) s1.send(str3c) e32.ao_sleep(1) str3d = str2d.replace('#MESS#', stoppost) s1.send(str3d) e32.ao_sleep(1) round.add(u'>> Auto Flood Stop!....\n') break else : round.add((u'>> Round Count = ' + str(i) + '....\n')) selct = random.randint(1, 6) remot1 = random.choice(emoticons) remot2 = random.choice(emoticons) rnum = random.randint(10, 99) if selct == 1 : NICKNAME = ((remot1 + '+' + remot1 + '+[' + last + ']+') + str(rnum) + '+') elif selct == 2 : NICKNAME = (('[' + last + ']+' + remot1 + '+' + remot2 + '+') + str(rnum) + '+') elif selct == 3 : NICKNAME = (remot1 + remot2 + '[' + last + ']' + remot2 + remot1) elif selct == 4 : NICKNAME = ((remot1 + '+' + last + '+' + remot1 + '~') + str(rnum) + '~' + remot2) elif selct == 5 : NICKNAME = ((str(rnum) + '3:)' + last + '3:)') + str(rnum)) elif selct == 6 : NICKNAME = ('~' + remot1 + '~{' + '~' + last + '}~' + remot2 + '~') tobesenda = levjoin1a.replace('#NICK#', NICKNAME) s1.send(tobesenda) tobesendb = levjoin1b.replace('#NICK#', NICKNAME) s1.send(tobesendb) tobesendc = levjoin1c.replace('#NICK#', NICKNAME) s1.send(tobesendc) tobesendd = levjoin1d.replace('#NICK#', NICKNAME) s1.send(tobesendd) e32.ao_sleep(2) for m in range(6): cm1 = random.choice(pladpost) cm2 = random.randint(100, 999) cm3 = ('[' + str(cm2) + ' ' + cm1) str3a = str2a.replace('#MESS#', cm3) s1.send(str3a) e32.ao_sleep(1) str3b = str2b.replace('#MESS#', cm3) s1.send(str3b) e32.ao_sleep(1) str3c = str2c.replace('#MESS#', cm3) s1.send(str3c) e32.ao_sleep(1) str3d = str2d.replace('#MESS#', cm3) s1.send(str3d) e32.ao_sleep(1) if i == (loopcount - 1) : str3a = str2a.replace('#MESS#', stoppost) s1.send(str3a) e32.ao_sleep(1) str3b = str2b.replace('#MESS#', stoppost) s1.send(str3b) e32.ao_sleep(1) str3c = str2c.replace('#MESS#', stoppost) s1.send(str3c) e32.ao_sleep(1) str3d = str2d.replace('#MESS#', stoppost) s1.send(str3d) e32.ao_sleep(1) round.add(u'>> Auto Flood Stop!....\n') pass global stopplad def multiautoflood3(): stopplad = 'no' first1 = appuifw.query(u'Room 1', 'text') first2 = appuifw.query(u'Room 2', 'text') first3 = appuifw.query(u'Room 3', 'text') first4 = appuifw.query(u'Room 4', 'text') first5 = appuifw.query(u'Room 5', 'text') loopcount = appuifw.query(u'No. of loop', 'number') round.add((u'>> Auto Flood Started @ ' + first1 + ', ' + first2 + ', ' + first3 + ', ' + first4 + ', ' + first5 + '....\n')) xmlpost1 = xmlpost.replace('#ID#', ub) str2a = xmlpost1.replace('#ROOM#', first1) str2b = xmlpost1.replace('#ROOM#', first2) str2c = xmlpost1.replace('#ROOM#', first3) str2d = xmlpost1.replace('#ROOM#', first4) str2e = xmlpost1.replace('#ROOM#', first5) levjoin1a = levjoin.replace('#ROOM#', first1) levjoin1b = levjoin.replace('#ROOM#', first2) levjoin1c = levjoin.replace('#ROOM#', first3) levjoin1d = levjoin.replace('#ROOM#', first4) levjoin1e = levjoin.replace('#ROOM#', first5) for i in range(loopcount): if stopplad == 'yes' : tobesendstop = levjoin1.replace('#NICK#', NICKNAME) str3a = str2a.replace('#MESS#', stoppost) s1.send(str3a) e32.ao_sleep(1) str3b = str2b.replace('#MESS#', stoppost) s1.send(str3b) e32.ao_sleep(1) str3c = str2c.replace('#MESS#', stoppost) s1.send(str3c) e32.ao_sleep(1) str3d = str2d.replace('#MESS#', stoppost) s1.send(str3d) e32.ao_sleep(1) str3e = str2e.replace('#MESS#', stoppost) s1.send(str3e) e32.ao_sleep(1) round.add(u'>> Auto Flood Stop!....\n') break else : round.add((u'>> Round Count = ' + str(i) + '....\n')) selct = random.randint(1, 6) remot1 = random.choice(emoticons) remot2 = random.choice(emoticons) rnum = random.randint(10, 99) if selct == 1 : NICKNAME = ((remot1 + '+' + remot1 + '+[' + last + ']+') + str(rnum) + '+') elif selct == 2 : NICKNAME = (('[' + last + ']+' + remot1 + '+' + remot2 + '+') + str(rnum) + '+') elif selct == 3 : NICKNAME = (remot1 + remot2 + '[' + last + ']' + remot2 + remot1) elif selct == 4 : NICKNAME = ((remot1 + '+' + last + '+' + remot1 + '~') + str(rnum) + '~' + remot2) elif selct == 5 : NICKNAME = ((str(rnum) + '3:)' + last + '3:)') + str(rnum)) elif selct == 6 : NICKNAME = ('~' + remot1 + '~{' + '~' + last + '}~' + remot2 + '~') tobesenda = levjoin1a.replace('#NICK#', NICKNAME) s1.send(tobesenda) tobesendb = levjoin1b.replace('#NICK#', NICKNAME) s1.send(tobesendb) tobesendc = levjoin1c.replace('#NICK#', NICKNAME) s1.send(tobesendc) tobesendd = levjoin1d.replace('#NICK#', NICKNAME) s1.send(tobesendd) tobesende = levjoin1e.replace('#NICK#', NICKNAME) s1.send(tobesende) e32.ao_sleep(2) for m in range(6): cm1 = random.choice(pladpost) cm2 = random.randint(100, 999) cm3 = ('[' + str(cm2) + ' ' + cm1) str3a = str2a.replace('#MESS#', cm3) s1.send(str3a) e32.ao_sleep(1) str3b = str2b.replace('#MESS#', cm3) s1.send(str3b) e32.ao_sleep(1) str3c = str2c.replace('#MESS#', cm3) s1.send(str3c) e32.ao_sleep(1) str3d = str2d.replace('#MESS#', cm3) s1.send(str3d) e32.ao_sleep(1) str3e = str2e.replace('#MESS#', cm3) s1.send(str3e) e32.ao_sleep(1) if i == (loopcount - 1) : str3a = str2a.replace('#MESS#', stoppost) s1.send(str3a) e32.ao_sleep(1) str3b = str2b.replace('#MESS#', stoppost) s1.send(str3b) e32.ao_sleep(1) str3c = str2c.replace('#MESS#', stoppost) s1.send(str3c) e32.ao_sleep(1) str3d = str2d.replace('#MESS#', stoppost) s1.send(str3d) e32.ao_sleep(1) str3e = str2e.replace('#MESS#', stoppost) s1.send(str3e) e32.ao_sleep(1) round.add(u'>> Auto Flood Stop!....\n') pass global stopplad def decrypt(): first1 = appuifw.query(u'JID', 'text') pjoin = base64.decodestring(first1) round.add((u'your encrypted id =>' + pjoin + '')) def banned(): first1 = appuifw.query(u'Type Room', 'text') levjoin = '' levjoin1a = levjoin.replace('#ROOM#', first1) s1.send(levjoin1a) rpacket2 = s1.recv(1024) error1 = rpacket2.find('not-authorized') if error1 > 1 : round.add(u'\n>> YOUR ID IS BANNED! :-(\n') appuifw.app.menu = menu1 else : round.add(u'\n>> YOUR ID IS NOT BANNED ^_^\n') def stopna(): stopplad = 'yes' global stopplad def nickchange(): if len(last) > 18 : round.add(u'\n>> ERROR!!! NICKNAME IS TOO LONG') else : last = appuifw.query(u'Nickname (Max 18 Char)', 'text') lastdetermine = last global last, lastdetermine def recivpackets(): tekert2 = tekert1.replace('#ID#', str(random.randint(1, 99))) tekert3 = tekert2.replace('#JID#', ((jid + ' ' + password + ' ') + str(random.randint(1, 99)))) s1.send(tekert3) round.add(u'\n\n>> PACKETS SUCCESSFULLY IN') stopplad = 'no' rn = roombot countpost1 = 0 garbagecollection = s1.recv(1024) while True : data = s1.recv(1024) xmlpost1 = xmlpost.replace('#ROOM#', rn) post1 = xmlpost1.replace('#ID#', str(random.randint(1, 99))) if postcount >= 6 : inout() elif data.find("role='participant' ") > 1 and data.find("type='unavailable'") < 1 and data.find("initial='yes'") < 1 and data.find(lastdetermine) < 1 and wcbot1 == 'on' : rc1 = random.randint(100, 999) rc2 = random.randint(100, 999) re = random.choice(emoticons) wcmeseg1 = wcmeseg.replace('-nick-', wcbot(data)) wcmeseg1 = wcmeseg1.replace('-re-', re) wcmeseg1 = wcmeseg1.replace('-rc1-', ('[' + str(rc1) + ' ')) wcmeseg1 = wcmeseg1.replace('-rc2-', ('[' + str(rc2) + ' ')) postcount = (postcount + 1) post1 = post1.replace('#MESS#', wcmeseg1) s1.send(post1) round.add(((u'\n>> ' + wcmeseg) + wcbot(data))) elif data.find(" 1 and data.find(lastdetermine) < 1 : Cmess = postmessage(data) Cfrom = postfrom(data) if Cmess.find('/wmsg ') >= 0 and Cfrom == masternick : wcmeseg = Cmess[(Cmess.find('/wmsg ') + len('/wmsg ')) : len(Cmess)] post1 = post1.replace('#MESS#', ('[c10 WE[900 LC[700 OM[400 E M[240 SG CH[090 AN[0c0 GE TO: ' + wcmeseg)) s1.send(post1) postcount = (postcount + 1) round.add((u'Wc msge Change => ' + wcmeseg)) elif Cmess.find('version') >= 0 and Cmess.find('version') <= 6 : post1 = post1.replace('#MESS#', vers) s1.send(post1) postcount = (postcount + 1) print vers, print elif Cmess.find('/time') >= 0 : times = (('[919 TIME AND DATE [c45 ' + time.strftime('%I:%M:%S %p', time.localtime()) + ' ') + time.strftime('%a %m/%d/%y', time.localtime())) post1 = post1.replace('#MESS#', times) s1.send(post1) postcount = (postcount + 1) print times, print elif Cmess.lower().find('tanx') >= 0 or Cmess.lower().find('enx') == 0 or Cmess.lower().find('salamat') == 0 or Cmess.lower().find('enchu') == 0 or Cmess.lower().find('tenx') == 0 or Cmess.lower().find('ty') == 0 or Cmess.lower().find('tenchu') == 0 or Cmess.lower().find('Ty') == 0 or Cmess.lower().find('thank') == 0 or Cmess.lower().find('thankx') == 0 or Cmess.lower().find('tnx') == 0 or Cmess.lower().find('talamat') == 0 or Cmess.lower().find('xalamat') == 0 : rc1 = random.randint(100, 999) rc2 = random.randint(100, 999) re = random.choice(emoticons) np = random.choice(npost) np1 = np.replace('-nick-', Cfrom) np1 = np1.replace('-re-', re) np1 = np1.replace('-rc1-', ('[' + str(rc1) + ' ')) np1 = np1.replace('-rc2-', ('[' + str(rc2) + ' ')) if wcbot1 == 'on' : post1 = post1.replace('#MESS#', np1) postcount = (postcount + 1) s1.send(post1) pass elif Cmess.lower().find('/lock') >= 0 and Cfrom == masternick : post1 = xmlpost.replace('#ROOM#', rn) post1 = post1.replace('#MESS#', lastpost) postcount = (postcount + 1) s1.send(post1) round.add(u'\n>>ROBOT STOP') activate() break elif Cmess.lower().find('/stop') >= 0 and Cfrom == masternick : post1 = xmlpost.replace('#ROOM#', rn) post1 = post1.replace('#MESS#', ('[348 FSD ROBOT[400 stop activated[090 ' + masternick)) postcount = (postcount + 1) s1.send(post1) round.add(u'\n>>ROBOT STOP') masternick = 'wala' app_lock.signal() break elif Cmess.lower().find('/commands') >= 0 : post1 = xmlpost.replace('#ROOM#', rn) post1 = post1.replace('#MESS#', comandlist) postcount = (postcount + 1) s1.send(post1) elif Cmess.lower().find('/mirror on') >= 0 and Cfrom == masternick : post1 = xmlpost.replace('#ROOM#', rn) post1 = post1.replace('#MESS#', '[c10 RO[900 BOT MI[700 RR[400 OR ATI[240 VA[090 TED!!! ') postcount = (postcount + 1) s1.send(post1) round.add(u'\n>>ROBOT MIRROR STOP') mirrors = 'yes' activate() elif Cmess.lower().find('/wcbot on') >= 0 and Cfrom == masternick : post1 = xmlpost.replace('#ROOM#', rn) post1 = post1.replace('#MESS#', ('[c10 WEL[900 COM[700 EBOT ACT[400 IVATED PR[240 OGRA[090 M BY: @ [c10 ' + Cfrom)) postcount = (postcount + 1) wcbot1 = 'on' s1.send(post1) elif Cmess.lower().find('/wcbot off') >= 0 and Cfrom == masternick : post1 = xmlpost.replace('#ROOM#', rn) post1 = post1.replace('#MESS#', ('[c10 WEL[700 COME[400 BOT D[240 EACT[090 IVAT[0c0 EDBY: @ [C10 ' + Cfrom)) postcount = (postcount + 1) wcbot1 = 'off' s1.send(post1) elif Cmess.lower().find('/stateofwar') >= 0 and Cfrom == masternick : post1 = xmlpost.replace('#ROOM#', rn) post1 = post1.replace('#MESS#', '[d00 CONNECTING YOUR BOT [c45 pls wait!') postcount = (postcount + 1) s1.send(post1) botlogin() elif Cmess.find('/invade ') >= 0 and Cfrom == masternick : lockbotroom = Cmess[(Cmess.find('/invade ') + len('/invade ')) : len(Cmess)] post1 = post1.replace('#MESS#', ('[919 Roger!!! Master ' + masternick + '. Deploying all FSD ROBOT FORCES to ' + lockbotroom)) s1.send(post1) postcount = (postcount + 1) round.add((u'Invaded Room => ' + lockbotroom)) invadeon = 'on' botjoin() elif Cmess.find('/retreat ') >= 0 and Cfrom == masternick : retreatroom = Cmess[(Cmess.find('/retreat ') + len('/retreat ')) : len(Cmess)] post1 = post1.replace('#MESS#', ('[934 Roger!!! Master ' + masternick + '. Retreating all FSD ROBOTS FORCES from ' + retreatroom)) s1.send(post1) postcount = (postcount + 1) round.add((u'Retreat Room => ' + retreatroom)) invadeon = 'off' lev = '' levjoin1 = lev.replace('#ROOM#', retreatroom) bot1.send(levjoin1) bot2.send(levjoin1) bot3.send(levjoin1) bot4.send(levjoin1) bot5.send(levjoin1) bot6.send(levjoin1) bot7.send(levjoin1) bot8.send(levjoin1) bot9.send(levjoin1) bot10.send(levjoin1) bot11.send(levjoin1) bot12.send(levjoin1) bot13.send(levjoin1) bot14.send(levjoin1) bot15.send(levjoin1) bot16.send(levjoin1) bot17.send(levjoin1) bot18.send(levjoin1) bot19.send(levjoin1) elif Cmess.upper().find(word1) >= 0 and twistswitch == 'on' : if len(p) <= 0 : post2 = post1.replace('#MESS#', ('[190 ' + Cfrom + '[c10 SORRY! [919 hindi kapa kasali sa game type /j[919 oin para maka laro ka')) postcount = (postcount + 1) s1.send(post2) for i in range(len(p)): if p[i] == Cfrom : ps[i] = (ps[i] + 1) post1 = post1.replace('#MESS#', ('[c45 ' + Cfrom + ' [919 WOW ISA KANG HENYO!:D [c10 C.A = ' + word1)) s1.send(post1) postcount = (postcount + 1) round.add(u'\n>> succesfuly answerd') neword() break elif i >= (len(p) - 1) : post2 = post1.replace('#MESS#', ('[c45 ' + Cfrom + '[c10 SORRY! [919 hindi kapa kasali sa game type /j[919 oin para maka laro ka')) postcount = (postcount + 1) s1.send(post2) pass elif Cmess.find('/texttwist on') >= 0 and Cfrom == masternick and twistswitch == 'off' : twistswitch = 'on' post1 = post1.replace('#MESS#', '[c10 TE[900 XT [700 TW[400 IST GA[240 ME [090 ON Pl[0c0 ay ga[c90 me TYP[c60 E /jo[950 in:D') s1.send(post1) neword() postcount = (postcount + 1) round.add((u'\n>> Txttwist activated: ' + word1 + '@@')) countpost1 = 0 elif Cmess.find('/clue') >= 0 and twistswitch == 'on' : cl = Uclue(word1) word2 = word2.replace('\n', '') post1 = post1.replace('#MESS#', ('[919 TXTTWIST: [C10 ' + word2 + '\n[919 CLUE: [c45 ' + cl)) s1.send(post1) postcount = (postcount + 1) round.add((u'\n>> CLUE ' + cl)) countpost1 = 0 elif Cmess.find('/repost') >= 0 and twistswitch == 'on' : repost() countpost1 = 0 elif Cmess.find('/texttwist off') >= 0 and twistswitch == 'on' : post1 = post1.replace('#MESS#', '[c10 TEXT TW[900 IST GA[700 ME O[400 FF') s1.send(post1) postcount = (postcount + 1) twistswitch = 'off' round.add(u'\n>> TEXTTWIST STOP') [][:] = p [][:] = ps elif Cmess.find('/join') >= 0 and twistswitch == 'on' : round.add(u'\n>> ATTEMPTING JOIN') Cjoin(Cfrom) elif Cmess.lower().find('/score') >= 0 and twistswitch == 'on' : for i in range(len(p)): if p[i] == Cfrom : post1 = post1.replace('#MESS#', (('[900 ' + Cfrom + ' [919 YOUR SCORE IS:[c45 ') + str(ps[i]))) s1.send(post1) postcount = (postcount + 1) pass elif Cmess.find('assume') >= 0 and twistswitch == 'on' : post1 = post1.replace('#MESS#', ('[919 assume mo mukha mo:D ' + Cfrom + ' ron:>.!.')) s1.send(post1) postcount = (postcount + 1) elif countpost1 >= 6 and twistswitch == 'on' : countpost1 = 0 repost() else : pass round.add((u'\n\nFrom: ' + Cfrom + ' Message: ' + Cmess)) if twistswitch == 'on' : round.add((u'\n\n>>TT WORD>>' + word1 + '<<')) countpost1 = (countpost1 + 1) elif data.find("type='unavailable'") > 1 and invadeon == 'on' : round.add(u'\n>> Initializing Auto Join') botjoin() else : pass global stopplad, postcount, wcmeseg, masternick, mirrors, wcbot1, lockbotroom, invadeon, twistswitch, word2 def Cjoin(Cfrom): xmlpost1 = xmlpost.replace('#ROOM#', roombot) post1 = xmlpost1.replace('#ID#', str(random.randint(1, 99))) if len(p) == 0 : p[len(p) : 0] = [Cfrom] ps[len(ps) : 0] = [0] post2 = post1.replace('#MESS#', ('[919 ' + Cfrom + ' [d00 ay sumali:D magaling ata cya:> thanks:e')) postcount = (postcount + 1) s1.send(post2) else : for i in range(len(p)): if p[i] == Cfrom : post2 = post1.replace('#MESS#', ('[919 ' + Cfrom + ' [c45 HOY!! Engot kasali kana tanga!:>')) postcount = (postcount + 1) s1.send(post2) break elif i >= (len(p) - 1) : p[len(p) : 0] = [Cfrom] ps[len(ps) : 0] = [0] post2 = post1.replace('#MESS#', ('[919 ' + Cfrom + ' [c45 sige sali kalang enjoy playing:e')) postcount = (postcount + 1) s1.send(post2) pass global postcount def neword(): while True : word3 = lan3(random.randint(1, 29700)) word1 = word3[0 : (len(word3) - 1)] if len(word1) <= 10 : twist(word1) repost() break global word1 def repost(): xmlpost1 = xmlpost.replace('#ROOM#', roombot) post1 = xmlpost1.replace('#ID#', str(random.randint(1, 99))) if postcount >= 6 : inout() ttq = ('[919 TEXTTWIST: [c10 ' + word2 + '\n[c45 CLUE: [029 ' + clue) post2 = post1.replace('#MESS#', ttq) postcount = (postcount + 1) s1.send(post2) global postcount def twist(word1): clue = '' word2 = '' tempnum = '' letters = 'abcdefghijklmnopqrstuvwxyz' while True : r1 = random.randint(0, (len(word1) - 1)) r2 = letters[r1] if len(tempnum) == len(word1) : break else : if tempnum.find(r2) < 0 : tempnum = (tempnum + letters[r1]) word2 = (word2 + word1[r1]) clue = (clue + '?') pass round.add((u'\n>> ' + tempnum)) global clue, word2 def Uclue(word1): clue1 = '' for i in range(len(word1)): r1 = random.randint(0, (len(word1) - 1)) if clue[r1] == '?' : break for i in range(len(word1)): if i == r1 : clue1 = (clue1 + word1[r1]) else : clue1 = (clue1 + clue[i]) clue = clue1 return clue1 global clue def postmessage(data): data = data[data.find('')] first1 = "'>" first2 = (data.find(first1) + len(first1)) repz = data[first2 : data.find('')] first1 = "from='" first2 = (data.find(first1) + len(first1)) repz = data[first2 : data.find("' room='")] return repz def wcbot(data): first1 = "nick='" first2 = (data.find(first1) + len(first1)) repz = data[first2 : data.find("' role=")] return repz def activate(): rn = roombot while True : data = s1.recv(1024) xmlpost1 = xmlpost.replace('#ROOM#', rn) post1 = xmlpost1.replace('#ID#', str(random.randint(1, 99))) if postcount >= 6 : inout() elif data.find(" 1 and data.find(lastdetermine) < 1 : Cmess = postmessage(data) Cfrom = postfrom(data) if Cmess.find('/key') >= 0 and masternick == 'wala' : masternick = Cfrom wcmeseg = Cmess[(Cmess.find('/key') + len('/key')) : len(Cmess)] post1 = post1.replace('#MESS#', ('[c10 FU[900 LL AC[700 CE[400 SS SU[240 CC[090 ESS!! LE[0c0 TS G[c90 ET [c60 IT [950 ON!!!!! [c45 ' + Cfrom + ' [cc0 IS NO[cc1 W MY[cc2 MAS[cc3 TER:B,')) s1.send(post1) postcount = (postcount + 1) round.add((u'\n>>Master Nick ' + Cfrom)) recivpackets() break elif Cmess.find('/unlock') >= 0 and Cfrom == masternick : post1 = post1.replace('#MESS#', ('[c10 CON[900 FI[700 RM [400 TO UN[240 LO[090 CK BO[0c0 T!! [777 !!!:B,\m/ [c45 ' + masternick)) s1.send(post1) postcount = (postcount + 1) round.add(u'\n>>robot Unlock') recivpackets() break elif Cmess.find('/mirror off') >= 0 and Cfrom == masternick : post1 = post1.replace('#MESS#', '[919 FSD ROBOT [c10 ^^[900 ^ MI[700 RR[400 OR O[240 FF ^[090 ^[0c0 ^') s1.send(post1) postcount = (postcount + 1) round.add(u'\n>>Mirror off') mirrors = 'no' recivpackets() break elif mirrors == 'yes' : post1 = post1.replace('#MESS#', ('[C45 [' + Cfrom + '] : [919 ' + Cmess)) s1.send(post1) postcount = (postcount + 1) round.add((u'\n\nFrom: ' + Cfrom + ' Message: ' + Cmess)) else : pass global masternick, postcount, mirrors def inout(): levjoin1 = levjoin.replace('#ROOM#', roombot) selct = random.randint(1, 6) remot1 = random.choice(emoticons) remot2 = random.choice(emoticons) rnum = random.randint(10, 99) if selct == 1 : NICKNAME = ((remot2 + '+' + remot1 + '+[' + last + ']+') + str(rnum) + '+') elif selct == 2 : NICKNAME = (('[' + remot2 + ']+' + remot1 + '+' + last + '+') + str(rnum) + '+') elif selct == 3 : NICKNAME = (remot1 + remot2 + '[' + last + ']' + remot2 + remot1) elif selct == 4 : NICKNAME = ((remot1 + '+' + last + '+' + remot1 + '~') + str(rnum) + '~' + remot2) elif selct == 5 : NICKNAME = ((str(rnum) + '3:)' + last + '3:)') + str(rnum)) elif selct == 6 : NICKNAME = ('~' + remot1 + '~{' + last + '}~' + remot2 + '~') lastdetermine = NICKNAME tobesend = levjoin1.replace('#NICK#', NICKNAME) s1.send(tobesend) postcount = 0 global lastdetermine, postcount menu1 = [(u'Log In', log1), (u'Register!!!', reg), (u'ID Decrypter', decrypt)] menu2 = [(u'Auto Flood', ((u'Single Room', autoflood), (u'3 Rooms Flood', multiautoflood1), (u'4 Rooms Flood', multiautoflood2), (u'5 Rooms Flood', multiautoflood3), (u'Stop Flood', stopna))), (u'Change Nickname', nickchange), (u'Join Room', n0t0join1), (u'Leave Room', n0t0leave1), (u'Post Message', postmess), (u'Check ur ID (banned or not)', banned)] appuifw.app.menu = menu1 appuifw.app.exit_key_handler = quit app_lock = e32.Ao_lock() app_lock.wait()